
#CONFIG *= silent


macx|darwin-g++ {
   message("Compiling on Mac OS")
      INCLUDEPATH += . /opt/local/include
      INCLUDEPATH *= /opt/local/include/opencv
      INCLUDEPATH += . /sw/include/qt
      INCLUDEPATH += /usr/local/include/opencv/
      INCLUDEPATH*= /Library/Java/Home/include 
      INCLUDEPATH*= /System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/
      INCLUDEPATH= /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/
      INCLUDEPATH*= /Library/Java/Home/include
      INCLUDEPATH *= /Library/Java/Home/include/

      LIBS *= -L/opt/local/lib/ -lgsl -lgslcblas -lm
      LIBS += -fopenmp
 
      CONFIG += staticlib
      CONFIG -= lib_bundle
      CONFIG *= lib_bundle
      CONFIG -= app_bundle

      QMAKE_CXXFLAGS += -Wno-deprecated -fopenmp
      QMAKE_CXXFLAGS_RELEASE += -fast -fstrength-reduce -floop-optimize -finline-functions -fopenmp
      QMAKE_CFLAGS_RELEASE += -fast -fstrength-reduce -floop-optimize -finline-functions -fopenmp
      QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CXXFLAGS_RELEASE
      QMAKE_CFLAGS_DEBUG = $$QMAKE_CFLAGS_RELEASE
}


linux-g++ {
   message("Compiling on LINUX")
      INCLUDEPATH *= /usr/lib/jvm/java-6-sun/include/ 
      INCLUDEPATH *= /usr/lib/jvm/java-6-sun/include/linux 
      INCLUDEPATH += /usr/include/lpsolve
#      LIBS +=  -L/usr/lib/lp_solve/ -llpsolve55_pic
      LIBS *= -lgsl -lgslcblas -lm
}

